]> dgit.raspbian.org Git - gnome-shell.git/commit
authPrompt: don't muck with cancelButton in onAskQuestion
authorRay Strode <rstrode@redhat.com>
Sun, 28 Jul 2013 20:15:43 +0000 (16:15 -0400)
committerRay Strode <rstrode@redhat.com>
Thu, 8 Aug 2013 14:55:34 +0000 (10:55 -0400)
commit58ca6ec6aa8706dc8f3ef47b3ead55b303578838
tree1c126674547017a3fba1b387934bc8c12d2d015f
parentbb2599eb30715797645ffb0364379aaa389333c2
authPrompt: don't muck with cancelButton in onAskQuestion

onAskQuestion has this code:

    if (this.verifyingUser)
        this.cancelButton.show();
    else
        this.cancelButton.hide();

but onAskQuestion can only be called when this.verifyingUser is true.
Also, cancelButton is public, and it only ever otherwise gets hidden
from callers.

This commit drops mucking with cancelButton visibility, leaving it
entirely up to the callers to deal with.

https://bugzilla.gnome.org/show_bug.cgi?id=683437
js/gdm/authPrompt.js